import React from "react";
import {Link} from 'react-router';
import config from '../../config';

/**
 * 加载图片或样式文件
 * */
import './sass/Header.scss';
import logo from './images/logo.png';


export default class StaticBanner extends React.Component {
    constructor(props) {
        super(props);
        this.state = {
            // sidebarVisible: false
        }
    }

    render() {
        const { src } = this.props;
        return (
            <div className="banner">
                <img src={src} alt=""/>
            </div>
        )
    }
}